# create nodes by instantiation
vaeloader_5 = VAELoader(vae_name="""vae-ft-mse-840000-ema-pruned.safetensors""")
vaeencode_6 = VAEEncode()
vaedecode_8 = VAEDecode()
controlnetloader_10 = ControlNetLoader(control_net_name="""control_v11p_sd15_lineart_fp16.safetensors""")
controlnetapplyadvanced_11 = ControlNetApplyAdvanced(strength=0.5, start_percent=0, end_percent=1)
aio_preprocessor_12 = AIO_Preprocessor(preprocessor="""LineArtPreprocessor""", resolution=512)
loadimage_1 = LoadImage(image="""letter_r.jpg""")
cliptextencode_3 = CLIPTextEncode(text="""watermark, blurry, distorted""")
ksampler_7 = KSampler(seed=903203409270830, control_after_generate="""randomize""", steps=25, cfg=7, sampler_name="""dpmpp_2m""", scheduler="""karras""", denoise=1)
saveimage_9 = SaveImage(filename_prefix="""green_apple""")
checkpointloadersimple_4 = CheckpointLoaderSimple(ckpt_name="""majicmixRealistic_v7.safetensors""")
cliptextencode_2 = CLIPTextEncode(text="""a logo for a game app, bright color""")

# link nodes by invocation
vae_5 = vaeloader_5()
control_net_10 = controlnetloader_10()
image_1, mask_1 = loadimage_1()
model_4, clip_4, vae_4 = checkpointloadersimple_4()
latent_6 = vaeencode_6(pixels=image_1, vae=vae_5)
image_12 = aio_preprocessor_12(image=image_1)
conditioning_2 = cliptextencode_2(clip=clip_4)
conditioning_3 = cliptextencode_3(clip=clip_4)
positive_11, negative_11 = controlnetapplyadvanced_11(positive=conditioning_2, negative=conditioning_3, control_net=control_net_10, image=image_12)
latent_7 = ksampler_7(model=model_4, positive=positive_11, negative=negative_11, latent_image=latent_6)
image_8 = vaedecode_8(samples=latent_7, vae=vae_5)
result_9 = saveimage_9(images=image_8)
